/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.odm.index);
  router.get('/taskNewCommit', controller.odm.taskNewCommit);
  router.get('/taskInit', controller.odm.taskInit);
  router.get('/taskAddRes', controller.odm.taskAddRes);
  // router.get('/taskDownload', controller.odm.taskDownload);
};
